package kr.hkit.powerjava.chapter08.work;

public class Employee {
	private String name;
	private String telNumber;
	private int salary;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTelNumber() {
		return telNumber;
	}
	public void setTelNumber(String telNumber) {
		this.telNumber = telNumber;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	@Override
	public String toString() {
		return "Employee [이름 = " + name + ", 전화번호 = " + telNumber
				+ ", 연봉 = " + salary + "]";
	}
	
	

}
